package com.example.administrator.jingpingou.login;

import cn.sharesdk.framework.TitleLayout;
import cn.sharesdk.framework.authorize.AuthorizeAdapter;

/**
 * Created by lenovo on 2016/8/31.
 */
public class MyAdapter extends AuthorizeAdapter {
    public void onCreate() {
        System.out.println("> ShareSDKUIShell created!");
//获取标题栏控件
        TitleLayout llTitle = getTitleLayout();
//标题栏的文字修改
        String resID="亲请先登录哈~~";//这个字段定义在strings.xml文件里面
        llTitle.getTvTitle().setText(resID);
    }

    public void onDestroy() {
        System.out.println("> ShareSDKUIShell will be destroyed.");
    }
}
